<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>窗口的使用</title>
		
		<script type="text/javascript" src="../js/jquery-1.8.3.js" ></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js" ></script>
		<script src="../js/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script> 
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css"> 
		<link rel="stylesheet"  href="../js/easyui/themes/icon.css"> 
		
		<script>
			
			$(function(){
				$("#btn").click(function(){
					$("#openWindow").window('open');
				});
			});
			
		</script>
	
		
	</head>
	<body >
		
		<input type="text" />
			<!--collapsible="false":取消折叠按钮-->
			<!--modal="true" :打开窗口后，后面的内容不可点击-->
		<div id="openWindow" class="easyui-window" data-options="title:'枫林晚'" collapsible="false"
			modal="true" closed="true"
			style="width: 200px;height: 200px;">
			浮动窗口
		
		</div>
		
		<input type="button" value="打开窗口" id="btn"/>


		
	</body>
</html>
